package com.jaay.config;

import com.jaay.snowflake.SnowflakeGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SnowflakeConfig {

    @Bean
    public SnowflakeGenerator snowflakeGenerator(){

        return new SnowflakeGenerator(1L,1L);
    }
}
